/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author priska
 */
public class Barang {

    public Barang() {
    }
    
    private String namaBarang;
    private String kodeBarang;
    private int jumlahBarang;
    private double hargaBarang; 
    private Login area;
    /**
     * @return the namaBarang
     */
    public String getNamaBarang() {
        return namaBarang;
    }

    /**
     * @param namaBarang the namaBarang to set
     */
    public void setNamaBarang(String namaBarang) {
        this.namaBarang = namaBarang;
    }

    /**
     * @return the kodeBarang
     */
    public String getKodeBarang() {
        return kodeBarang;
    }

    /**
     * @param kodeBarang the kodeBarang to set
     */
    public void setKodeBarang(String kodeBarang) {
        this.kodeBarang = kodeBarang;
    }

    /**
     * @return the jumlahBarang
     */
    public int getJumlahBarang() {
        return jumlahBarang;
    }

    /**
     * @param jumlahBarang the jumlahBarang to set
     */
    public void setJumlahBarang(int jumlahBarang) {
        this.jumlahBarang = jumlahBarang;
    }

    /**
     * @return the hargaBarang
     */
    public Double getHargaBarang() {
        return hargaBarang;
    }

    /**
     * @param hargaBarang the hargaBarang to set
     */
    public void setHargaBarang(Double hargaBarang) {
        this.hargaBarang = hargaBarang;
    }

    /**
     * @return the area
     */
    public Login getArea() {
        return area;
    }

    /**
     * @param area the area to set
     */
    public void setArea(Login area) {
        this.area = area;
    }
    
}
